<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>

<script>

    window.onload = function () {
        document.write("你好哈哈哈!!!");
        alert("你好");
    }
</script>
<body>

</body>
</html>